module.exports = {
  publicPath: '/',
  // outputDir:'dist',
  // assetsDir:'static',
  configureWebpack: {
    resolve: {
      alias: {
        assets: '@/assets',
        components: '@/components',
        network: '@/network',
        views: '@/views'
      }
    },
    devServer: {
      open: true,
      proxy: {
        '/api': {
          target: 'https://autumnfish.cn/',
          changeOrigin: true,
          pathRewrite: {
            '^/api': ''
          }
        }
      }
    }
  },
  lintOnSave: false
}
